package com.sand;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

//正则校验
public class MyPattern {


    public static void main(String[] args) {

        Phone("19330676372");

    }


    //电话号码正则
    public static void Phone(String str){
        String pattern = "";

        Pattern compile = Pattern.compile(pattern);

        Matcher matcher = compile.matcher(str);

        System.out.println(matcher.matches());

    }


}
